﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MyMessenger.Core.Services
{
    public interface IMessageService
    {
        Messege AddMessage(User from, User toUser, string text);
        Messege[] GetNewMessages(User u, int lastMsgId);
        Messege[] GetAllMessagesToUser(User u);
    }
}
